package com.aiwiown.face.response.faceid;

import com.aiwiown.face.ApiResponse;
import com.aiwiown.face.domain.ocrid.Legality;
import com.aiwiown.face.domain.ocrid.OcridCardDict;
import com.aiwiown.face.domain.ocrid.RectDict;
import com.aiwiown.face.internal.mapping.ApiField;

/**
 * @ClassName : OcridCardResponse
 * @Description :
 * @Author : dbin0123
 * @Date: 2020-03-15 19:19
 */
public class OcridCardResponse extends ApiResponse {
    private static final long serialVersionUID = 8802930352104822679L;

    @ApiField("result")
    private Integer result;
    @ApiField("side")
    private Integer side;
    @ApiField("name")
    private OcridCardDict name;
    @ApiField("gender")
    private OcridCardDict gender;
    @ApiField("nationality")
    private OcridCardDict nationality;
    @ApiField("birth_year")
    private OcridCardDict birthYear;
    @ApiField("birth_month")
    private OcridCardDict birthMonth;
    @ApiField("birth_day")
    private OcridCardDict birthDay;
    @ApiField("idcard_number")
    private OcridCardDict idCardNumber;
    @ApiField("address")
    private OcridCardDict address;
    @ApiField("portrait")
    private OcridCardDict portrait;
    @ApiField("issued_by")
    private OcridCardDict issuedBy;
    @ApiField("valid_date_start")
    private OcridCardDict validDateStart;
    @ApiField("valid_date_end")
    private OcridCardDict validDateEnd;
    @ApiField("legality")
    private Legality legality;
    @ApiField("completeness")
    private Integer completeness;
    @ApiField("card_rect")
    private RectDict cardRect;

    public Integer getResult() {
        return result;
    }

    public void setResult(Integer result) {
        this.result = result;
    }

    public Integer getSide() {
        return side;
    }

    public void setSide(Integer side) {
        this.side = side;
    }

    public OcridCardDict getName() {
        return name;
    }

    public void setName(OcridCardDict name) {
        this.name = name;
    }

    public OcridCardDict getGender() {
        return gender;
    }

    public void setGender(OcridCardDict gender) {
        this.gender = gender;
    }

    public OcridCardDict getNationality() {
        return nationality;
    }

    public void setNationality(OcridCardDict nationality) {
        this.nationality = nationality;
    }

    public OcridCardDict getBirthYear() {
        return birthYear;
    }

    public void setBirthYear(OcridCardDict birthYear) {
        this.birthYear = birthYear;
    }

    public OcridCardDict getBirthMonth() {
        return birthMonth;
    }

    public void setBirthMonth(OcridCardDict birthMonth) {
        this.birthMonth = birthMonth;
    }

    public OcridCardDict getBirthDay() {
        return birthDay;
    }

    public void setBirthDay(OcridCardDict birthDay) {
        this.birthDay = birthDay;
    }

    public OcridCardDict getIdCardNumber() {
        return idCardNumber;
    }

    public void setIdCardNumber(OcridCardDict idCardNumber) {
        this.idCardNumber = idCardNumber;
    }

    public OcridCardDict getAddress() {
        return address;
    }

    public void setAddress(OcridCardDict address) {
        this.address = address;
    }

    public OcridCardDict getPortrait() {
        return portrait;
    }

    public void setPortrait(OcridCardDict portrait) {
        this.portrait = portrait;
    }

    public OcridCardDict getIssuedBy() {
        return issuedBy;
    }

    public void setIssuedBy(OcridCardDict issuedBy) {
        this.issuedBy = issuedBy;
    }

    public OcridCardDict getValidDateStart() {
        return validDateStart;
    }

    public void setValidDateStart(OcridCardDict validDateStart) {
        this.validDateStart = validDateStart;
    }

    public OcridCardDict getValidDateEnd() {
        return validDateEnd;
    }

    public void setValidDateEnd(OcridCardDict validDateEnd) {
        this.validDateEnd = validDateEnd;
    }

    public Legality getLegality() {
        return legality;
    }

    public void setLegality(Legality legality) {
        this.legality = legality;
    }

    public Integer getCompleteness() {
        return completeness;
    }

    public void setCompleteness(Integer completeness) {
        this.completeness = completeness;
    }

    public RectDict getCardRect() {
        return cardRect;
    }

    public void setCardRect(RectDict cardRect) {
        this.cardRect = cardRect;
    }
}
